package com.gdwstudy.overrideExer;

public class Person {
    //属性
    private String name;
    private int age;
    //构造器
    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Person() {
    }

    public String say(){
        return "名字 "+name+" 年龄 "+age;
    }
}
